home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8613 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  825 b 

  1. Path: news-sop.inria.fr!usenet
  2. From: Herve Bernier <hbernier@sophia.inria.fr>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: calling C-functions from FORTRAN
  5. Date: Tue, 05 Mar 1996 13:41:41 +0100
  6. Organization: INRIA - Sophia Antipolis (France)
  7. Message-ID: <313C3685.446B9B3D@sophia.inria.fr>
  8. References: <3136F4BC.41C6@indi.aci.uni-heidelberg.de> <4h6ufe$3d8u@info4.rus.uni-stuttgart.de>
  9. NNTP-Posting-Host: rubis.inria.fr
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
  14.  
  15. Markus Heller wrote:
  16. :>
  17. :> Well,
  18. :> 
  19. :> as far as i know Fortran requires all procedures to be
  20. call-by-reference,
  21. :> so you should implement the c-functions as call-by-reference.
  22. :> 
  23. :> Markus
  24.  
  25. Have a look at http://ra.stsci.edu/documents/UUG/UnixGuide.book_59.html
  26.